package com.atguigu.gmall.list;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther 赵乾坤
 * @Date 2020-12-28 16:58
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class,
            scanBasePackages =  {"com.atguigu.gmall"})
@EnableFeignClients("com.atguigu.gmall")
//@EnableDiscoveryClient  可以不写
public class ServiceListApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceListApplication.class,args);
    }
}

